/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package interfaces;

import java.io.PrintWriter;
import java.util.List;

/**
 *
 * @author Maycon, Milton, Dagson 
 * 
 */
public interface DAO {
    
    public void inicializaSessao();
    
    public boolean cadastrar(Object obj);
    
    public boolean alterar(Object obj);
    
    public boolean excluir(Object obj);
    
    public List listar(String nomeObjeto);
    
    public List consultar(String nomeObjeto, String condicao);
}
